package com.apac.bom;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the user_audit_trail_tbl database table.
 * 
 */
@Entity
@Table(name="user_audit_trail_tbl")
public class UserAuditTrail extends AbstractBOM implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="TRAIL_CODE")
	private int trailCode;

	@Column(name="TBL_ENTRY_C")
	private String tblEntryC;

	@Column(name="TBL_NAME")
	private String tblName;

	@Column(name="TIME_STAMP")
	private Timestamp timeStamp;

	@Column(name="TRAIL_DESC")
	private String trailDesc;

	//bi-directional many-to-one association to User
	@ManyToOne
	@JoinColumn(name="USER_ID_CODE")
	private User use;

	public UserAuditTrail() {
	}

	public int getTrailCode() {
		return this.trailCode;
	}

	public void setTrailCode(int trailCode) {
		this.trailCode = trailCode;
	}

	public String getTblEntryC() {
		return this.tblEntryC;
	}

	public void setTblEntryC(String tblEntryC) {
		this.tblEntryC = tblEntryC;
	}

	public String getTblName() {
		return this.tblName;
	}

	public void setTblName(String tblName) {
		this.tblName = tblName;
	}

	public Timestamp getTimeStamp() {
		return this.timeStamp;
	}

	public void setTimeStamp(Timestamp timeStamp) {
		this.timeStamp = timeStamp;
	}

	public String getTrailDesc() {
		return this.trailDesc;
	}

	public void setTrailDesc(String trailDesc) {
		this.trailDesc = trailDesc;
	}

	public User getUse() {
		return this.use;
	}

	public void setUse(User use) {
		this.use = use;
	}

}